package com.naiterui.ehp.bs.ds.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.ds.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <pre>
 *   订单明细
 * </pre>
 *
 * @author zhouyanxin
 * @date 2019/1/11 下午11:19
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_order_item")
public class OrderItem extends BaseEntity implements java.io.Serializable {
    private static final long serialVersionUID = -2575847211285550740L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 商品ID
     */
    private Long productId;
    /**
     * 商品名称
     */
    private String productName;
    /**
     * sku id
     */
    private Long skuId;
    /**
     * sku 名称
     */
    private String skuName;
    /**
     * 仓库ID
     */
    private Long warehouseId;
    /**
     * 数量
     */
    private Integer quantity;
    /**
     * 售价
     */
    private Integer salePrice;

}
